/* 
 * File:   Speaker.cpp
 * Author: Alex
 * 
 */

#include "Speaker.h"

void Speaker::speakerOn() {
    armboard::output_pin & beeper = armboard::chip::pin_0_8;
    beeper.direction_set_output();
    beeper.set(1);
}

void Speaker::speakerOff() {
    armboard::output_pin & beeper = armboard::chip::pin_0_8;
    beeper.direction_set_output();
    beeper.set(0);
}
